--材为焦土
local caiweijiaotu = fk.CreateSkill {
    name = "mcdh_caiweijiaotu"
}

caiweijiaotu:addEffect(fk.Damaged,{
    can_trigger = function(self, event, target, player, data)
        return player:hasSkill(self) and target == player and data.damageType ~= fk.NormalDamage
    end,
    on_use = function(self, event, target, player, data)
        local room = player.room
        if not player:isKongcheng() then
            room:throwCard(player.player_cards[Player.Hand], self.name, player, player)
        end
        player:drawCards(3, self.name)
    end
})

Fk:loadTranslationTable {
    ["mcdh_caiweijiaotu"] = "材为焦土",
    [":mcdh_caiweijiaotu"] = "当你受到属性伤害后,你可以弃置所有手牌并摸三张牌(无牌则不弃)。"
}

return caiweijiaotu